//
//  NotificationCellViewModel.h
//  CommentPage
//
//  Created by 欧杨 on 2020/12/3.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import "NotificationModel.h"

NS_ASSUME_NONNULL_BEGIN

@interface NotificationCellViewModel : NSObject

@property(strong, nonatomic) UIImage* avater;
@property(strong, nonatomic) NSString *userName;
@property(strong, nonatomic) NSString* type;
@property(strong, nonatomic) NSString *content;
@property(strong, nonatomic) NSDate *date;
@property(assign, nonatomic) bool isRead;
@property(strong, nonatomic) NotificationModel *notificationModel;

- (instancetype)initWithNotificationModel:(NotificationModel *)notification;
- (void)read;

@end

NS_ASSUME_NONNULL_END
